package com.example.demo.service;

import com.example.demo.entity.DTO.WorkersDTO;
import com.example.demo.entity.Workers;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 员工表 服务类
 * </p>
 *
 * @author Mr.wyy
 * @since 2024-05-30
 */
public interface IWorkersService extends IService<Workers> {
    /**
     * 根据条件查询
     * @param workers
     * @return
     */
    public List<WorkersDTO> selectByCriteria(Workers workers);

/*    *//**
     * 查询所有员工
     * @return
     *//*
    public List<Workers> selectAllWorkers();*/
}
